package com.ch.engine.daily.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * bean生命周期
 *
 * @author wangchunhui
 * @date 2025/7/29 11:08
 */
@Configuration
public class FullLifecycleConfig {

    @Bean(initMethod = "customInit", destroyMethod = "customDestroy")
    public FullLifecycleBean fullLifecycleBean() {
        return new FullLifecycleBean();
    }
}
